<?php

class Application_Form_StatusPegawaiForm extends Zend_Form
{

    public function init()
    {
        $this->setName('formStatusPegawai');
        $this->setMethod('post');
        
        $id_status_pegawai = new Zend_Form_Element_Hidden('id_status_pegawai');
        
        $status_pegawai = new Zend_Form_Element_Text('status_pegawai');
        $status_pegawai->setLabel('Status Pegawai')->setRequired();
        
        $keterangan_status_pegawai = new Zend_Form_Element_Textarea('keterangan_status_pegawai');
        $keterangan_status_pegawai->setLabel('Keterangan')
                              ->setAttribs(array( 'cols'=> '60', 'rows' => '5'
                                      ));
        
        $tambah = new Zend_Form_Element_Submit('tambah');
        $tambah->setLabel('Tambah');
        
        $reset = new Zend_Form_Element_Reset('reset');
        $reset->setLabel('Reset');
        
        $this->addElements(array($status_pegawai, $keterangan_status_pegawai, $tambah, $reset, $id_status_pegawai));
    }
}

